package org.electronic.registration.dao;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import org.springframework.stereotype.Service;

/**
 * User: Egor
 * Date: 12.01.12
 */
@Service
public class BaseDao extends HibernateDaoSupport {

    @Autowired
    public void init(SessionFactory factory) {
        setSessionFactory(factory);
    }

}
